﻿@model GraphicCreations.Models.LoginModel

@{
    ViewBag.Title = "Login";
}

<section id="content">
    <div class="container">
        <div class="inside">
            <div class="inside1">
                <div class="wrap row-2">
                    <article class="col-2">
                        <h2>Login</h2>
                        <hr />
                        <br />
                        @using (Html.BeginForm("Login", "Account", FormMethod.Post, new { id = "form1" }))
                        {
                            <fieldset>
                                <div class="field text">
                                    <label>Username:</label>
                                    @Html.EditorFor(model => model.Username)
                                    <span class="errorlbl">
                                        @Html.ValidationMessageFor(model => model.Username)
                                    </span>
                                </div>
                                <div class="field text">
                                    <label>Password:</label>
                                    @Html.PasswordFor(model => model.Password)
                                    <span class="errorlbl">
                                        @Html.ValidationMessageFor(model => model.Password)
                                    </span>
                                </div>

                                <div class="alignright"><a href="#" class="link4" onclick="document.getElementById('form1').reset()"><span><span>Clear</span></span></a><a href="#" class="link2" onclick="document.getElementById('form1').submit()"><span><span>Login</span></span></a></div>
                            </fieldset>
                        }
                    </article>
                    <div class="clear"></div>
                </div>
            </div>
        </div>
    </div>
</section>
